// @description 管理员课程列表
// @author 冯世玉
// @date 2018-4-18

import axios from "../index.js"

var adminCourseList= {
    // 正在进行
	onGoingCourse:function(data,success,failure){
		return axios.post("/admin/onGoingCourse",data,success,failure);
    },
    // 即将开始
    comingSoonCourse:function(data,success,failure){
		return axios.post("/admin/comingSoonCourse",data,success,failure);
    },
    // 已完成
    completedCourse:function(data,success,failure){
		return axios.post("/admin/completedCourse",data,success,failure);
    },
    //邀请中
    invitingCourse:function(data,success,failure){
    return axios.post("/admin/invitingCourse",data,success,failure);
    },
    //关闭课程
    closeCourse:function(data,success,failure){
    return axios.post("/admin/closeCourse",data,success,failure);
    },
}

export default adminCourseList